package com.bto.solar.work.entity;

import com.alibaba.fastjson2.JSONArray;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bto.solar.work.config.MybatisJsonArrayTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 勘查信息和产权证明
 * </p>
 *
 * @author adrian
 * @since 2023-08-28
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Reconnoitre对象", description = "勘察信息和产权证明")
@TableName(autoResultMap = true)
public class Reconnoitre implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单ID")
    @TableId(value = "order_id", type = IdType.INPUT)
    private String orderId;

    @ApiModelProperty("房屋外观全景照")
    private String panorama;

    @ApiModelProperty("房屋内部结构（横梁，立柱）")
    private String innerStructure;

    @ApiModelProperty("房屋内部环境（生活生产环境）")
    private String interneMilieu;

    @ApiModelProperty("屋顶照片（东南角往西北拍）")
    private String roofSoutheast;

    @ApiModelProperty("屋顶照片（北往南拍）")
    private String roofNorth;

    @ApiModelProperty("屋顶照片（西南角往东北拍）")
    private String roofSouthwest;

    @ApiModelProperty("屋顶面整体照（风化和防水）")
    private String roofWhole;

    @ApiModelProperty("楼板厚度照片")
    private String floorThickness;

    @ApiModelProperty("光伏勘察表（正+反面）")
    private String explorationTable;

    @ApiModelProperty("屋面尺寸图")
    private String dimensionalDrawing;

    @ApiModelProperty("其他勘察影像件")
    private String otherImages;

    @ApiModelProperty("项目定位（今日水印相机定位照）")
    private String position;

    @ApiModelProperty("审核内容（暂留，后续不需要在删除）")
    private String auditInfo;

    @ApiModelProperty("逆变器品牌")
    private String inverterBrand;

    @ApiModelProperty("单块光伏板组件功率(w)")
    private Integer modulePower;

    @ApiModelProperty("预计组件数量(块)")
    private Integer moduleNumberReckon;

    @ApiModelProperty("拟安装容量（W）")
    private Integer installedCapacityReckon;

    @ApiModelProperty("无人机航拍图（全景俯视）")
    private String aerophotographWhole;

    @ApiModelProperty("无人机航拍图（西北角往东南）")
    private String aerophotographNorthwest;

    @ApiModelProperty("无人机航拍图（东北角往西南）")
    private String aerophotographNortheast;

    @ApiModelProperty("逆变器安装位置图")
    private String inverterPosition;

    @ApiModelProperty("配电箱安装位置")
    private String distributionBoxPosition;

    @ApiModelProperty("并网定位照")
    private String junctionLocation;

    @ApiModelProperty("是否允许吊车")
    private String allowCrane;

    @ApiModelProperty("经纬度的地理位置")
    private String latLngAddress;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
}
